package io.gitee.chearnee.fw.web.exception;

import io.gitee.chearnee.fw.common.model.vo.ResultCode;

/**
 *
 * 微服务调用的业务错误类
 * @author NN
 * @version 1.0
 * @date 2021/5/8 14:32
 */
public class InternalServiceApiException extends ApiException{
    public InternalServiceApiException() {
        this(ResultCode.SERVICEFAIL);
    }
    public InternalServiceApiException(String message) {
        this(ResultCode.SERVICEFAIL,message);
    }

    InternalServiceApiException(ResultCode resultCode) {
        super(resultCode);
    }

    InternalServiceApiException(ResultCode resultCode, String message) {
        super(resultCode, message);
    }
}
